<?php $this->load->view('common/head');?>
<form class="form-inline" name="actionAdd" id="actionAdd" action="<?php echo $this->input->server('REQUEST_URI'); ?>" method="post">
  <input type="hidden" name="type" id="type" value="1">
  <table class="table ">
    <thead>
      <tr>
        <th colspan="2">100城市名单导入</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><label for="year" class="control-label">年份：</label></td>
        <td>
            <select class="form-control" placeholder=".col-xs-4" id="year" name="year">
              <?php foreach ($yearList as $k => $v) {?>
              <option value="<?php echo $k;?>" <?php echo $where['year']==$k ? ' selected="selected"' : '';?>><?php echo $v;?></option>
              <?php }?>
            </select>
        </td>
      </tr>
      <tr>
        <td><label for="timeUnit" class="control-label">双月：</label></td>
        <td>
          <select class="form-control" placeholder=".col-xs-4" id="timeUnit" name="timeUnit">
            <?php foreach ($timeUnitList as $timeK => $timeV) {?>
            <option value="<?php echo $timeK; ?>" <?php echo $this->timeUnitModel->getNowTimeUnit()==$timeK ? ' selected="selected"' : '';?>><?php echo $timeV; ?></option>
            <?php } ?>
          </select>
        </td>
      </tr>
      <tr>
        <td><label for="name" class="control-label">标准动作名称:</label></td>
        <td>
        	<input type="input" class="form-control" name="name" id="name" placeholder="标准动作名称"> 
        </td>
      </tr>
      <tr>
        <td><label for="name" class="control-label">排序:</label></td>
        <td>
        	<input type="input" class="form-control" name="orderNum" id="orderNum" placeholder="排序"> 
        </td>
      </tr>
      <tr>
        <td colspan="2">
          <button type="button" onclick="ajaxFormSubmit('actionAdd')" class="btn btn-default btn-primary">保存</button>        
        </td>
        <td></td>
      </tr>
    </tbody>
  </table>
</form>
<?php $this->load->view('common/foot');?>